﻿using UnityEngine;
using System.Collections;

/// <summary>
/// 阵位数据表
/// </summary>
public class BattleArray : EntityBase
{
    public int arrayType;
    public int heroID;
    public int level;
    public int exp;
    public int equipment1;//数组
    public int equipment2;
    public int equipment3;
    public int equipment4;
    public int equipment5;
    public int equipment6;
    public int status;
}

/// <summary>
/// 英雄数据表
/// </summary>
public class Hero : EntityBase
{
    public int heroID;
    public int level;
    public int exp;
    public int status;
}

/// <summary>
/// 已经装备到阵位的装备
/// </summary>
public class Equipment : EntityBase
{
    public int EquipID;
    /// <summary>
    /// 位置
    /// </summary>
    public int ArrayIndex;
    /// <summary>
    /// 所在阵位
    /// </summary>
    public int BattleArrayID;
}

public enum Enum_EquipType
{
    /// <summary>
    /// 武器
    /// </summary>
    Enum_EquipType_Arms = 1,
    /// <summary>
    /// 帽子
    /// </summary>
    Enum_EquipType_Hat,
    /// <summary>
    /// 衣服
    /// </summary>
    Enum_EquipType_Clothes,
    /// <summary>
    /// 饰品
    /// </summary>
    Enum_EquipType_Ornaments,
    /// <summary>
    /// 兵法
    /// </summary>
    Enum_EquipType_Art,
    /// <summary>
    /// 马
    /// </summary>
    Enum_EquipType_Horse,
}

/// <summary>
/// 武将解锁类型
/// </summary>
public enum Enum_PukType
{
    /// <summary>
    /// 关卡过关解锁
    /// </summary>
    Enum_PassLevel = 1,
    /// <summary>
    /// 道具解锁
    /// </summary>
    Enum_UsingItem = 2,
}

/// <summary>
/// 武将状态
/// </summary>
public enum Enum_HeroStatus
{
    /// <summary>
    /// 上阵
    /// </summary>
    Enum_HeroUp = 1,
    /// <summary>
    /// 休息
    /// </summary>
    Enum_HeroDown = 2,
}